package com.huopaolan.yohuoshop.Di.Modules;

import com.huopaolan.yohuoshop.Mvp.Contract.BrandFragmentContract;
import com.huopaolan.yohuoshop.Mvp.Model.BrandFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class BrandFragmentModules {
    private BrandFragmentContract.BrandIView iView;

    public BrandFragmentModules(BrandFragmentContract.BrandIView iView) {
        this.iView = iView;
    }

    @Provides
    public BrandFragmentContract.BrandIView providerIView() {
        return iView;
    }

    @Provides
    public BrandFragmentContract.BrandIModel providerIModel() {
        return new BrandFragmentModel();
    }
}
